all: clean registry.dll

registry.dll: registry.o
	g++ -shared -o registry.dll registry.o
registry.o: registry.cpp registry.h
	g++ -c -o registry.o registry.cpp -DUNICODE

clean:
	rm *.o
	rm registry.dll